<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script src="https://unpkg.com/vue@next"></script>
<div id="app">
    <button @click.ctrl="show('hhh')">即使 Alt 或 Shift 被一同按下时也会触发</button><br>
    <button @click.ctrl.exact="show('xxx')">有且只有ctrl被按下的时候才触发</button><br>
    <button @click.exact="show('aaa')">没有任何系统修饰符按下的时候才触发</button><br>
</div>
<script>
    const vueOpt = {
        data(){
            return {

            }
        },
        methods: {
            show(msg){
                alert(msg);
            }
        }

    }

    Vue.createApp(vueOpt).mount('#app')
</script>
</body>
</html>
